package com.book.bookmanager.dao;



import com.book.bookmanager.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface bookDao {
    /**
     * 全查书本信息
     */
    public List<Book> selectAll();
    public void deleteById(Integer id);
    public void insertBook(Book book);
    public Book selectById(Integer id);
    public void updateBook(Book book);
    public void addPhoto(Book book);

}
